package com.yixq.soa.service.web.auth.interceptor;

import com.yixq.soa.service.comm.ResultCode;
import com.yixq.soa.service.comm.constant.Constant;

/**
 * Created by zjp on 2017/4/19.
 */
public class ErrorInfo {
    private String code = ResultCode.ERROR_DATA_PARAM;
    private String message;
    private Object data = Constant.EMPTY;

    public ErrorInfo(String message) {
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


	public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
